package com.dragonsen.log

import com.dragonsen.baseplugin.PluginProvider
import com.google.auto.service.AutoService
import org.gradle.api.Plugin
import org.gradle.api.Project

/**
 *
 * 提供一个接口
 *
 * muti插件直接接管所有的插件，模块中只需引用MutiPlugin即可
 */
@AutoService(value = [PluginProvider::class])
class LogProvider : PluginProvider {
    override fun getPlugin(): Class<out Plugin<Project>> {
        return LogPlugin::class.java
    }

    override fun dependOn(): List<String> {
        return arrayListOf<String>().apply {
            // add("com.kronos.plugin.thread.ThreadHookProvider")
        }
    }

}